package com.cskaoyan.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author stone
 * @date 2022/05/28 11:51
 */
@Controller
public class HelloController {

    //@Autowired
    //AccountService accountService;

    @RequestMapping("hello")
    @ResponseBody
    public String hello() {
        return "hello springmvc";
    }
}
